home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / swingall.jar / javax / swing / text / DefaultEditorKit$SelectParagraphAction.class (.txt) < prev    next >
Encoding:
Java Class File  |  1999-07-15  |  845 b   |  19 lines

  1. package javax.swing.text;
  2.  
  3. import java.awt.event.ActionEvent;
  4. import javax.swing.Action;
  5.  
  6. class DefaultEditorKit$SelectParagraphAction extends TextAction {
  7.    private Action start = new DefaultEditorKit.BeginParagraphAction("pigdog", false);
  8.    private Action end = new DefaultEditorKit.EndParagraphAction("pigdog", true);
  9.  
  10.    DefaultEditorKit$SelectParagraphAction() {
  11.       super("select-paragraph");
  12.    }
  13.  
  14.    public void actionPerformed(ActionEvent var1) {
  15.       this.start.actionPerformed(var1);
  16.       this.end.actionPerformed(var1);
  17.    }
  18. }
  19.